home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / loanapp / loanf3.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1995-05-07  |  12.0 KB  |  385 lines

  1. VERSION 2.00
  2. Begin Form Form3 
  3.    BackColor       =   &H00808080&
  4.    ClientHeight    =   5040
  5.    ClientLeft      =   255
  6.    ClientTop       =   1725
  7.    ClientWidth     =   8880
  8.    ControlBox      =   0   'False
  9.    Height          =   5445
  10.    Left            =   195
  11.    LinkMode        =   1  'Source
  12.    LinkTopic       =   "Form3"
  13.    MaxButton       =   0   'False
  14.    MinButton       =   0   'False
  15.    ScaleHeight     =   5040
  16.    ScaleWidth      =   8880
  17.    Top             =   1380
  18.    Width           =   9000
  19.    Begin CommandButton Command3 
  20.       Caption         =   "Cancel"
  21.       Height          =   300
  22.       Left            =   4995
  23.       TabIndex        =   19
  24.       Top             =   4470
  25.       Width           =   3000
  26.    End
  27.    Begin CommandButton Command1 
  28.       Caption         =   "OK"
  29.       Height          =   300
  30.       Left            =   885
  31.       TabIndex        =   18
  32.       Top             =   4455
  33.       Width           =   3000
  34.    End
  35.    Begin PictureBox Picture7 
  36.       Height          =   1185
  37.       Left            =   45
  38.       ScaleHeight     =   1155
  39.       ScaleWidth      =   8760
  40.       TabIndex        =   20
  41.       Top             =   3000
  42.       Width           =   8790
  43.       Begin CheckBox Check1 
  44.          Caption         =   "ARM:"
  45.          Height          =   240
  46.          Index           =   4
  47.          Left            =   3120
  48.          TabIndex        =   25
  49.          Top             =   795
  50.          Width           =   795
  51.       End
  52.       Begin CheckBox Check1 
  53.          Caption         =   "GPM"
  54.          Height          =   240
  55.          Index           =   2
  56.          Left            =   1755
  57.          TabIndex        =   23
  58.          Top             =   765
  59.          Width           =   1080
  60.       End
  61.       Begin PictureBox BEditF3 
  62.          FontBold        =   -1  'True
  63.          FontItalic      =   0   'False
  64.          FontName        =   "MS Sans Serif"
  65.          FontSize        =   9.75
  66.          FontStrikethru  =   0   'False
  67.          FontUnderline   =   0   'False
  68.          Height          =   495
  69.          Index           =   8
  70.          Left            =   3945
  71.          ScaleHeight     =   465
  72.          ScaleWidth      =   4740
  73.          TabIndex        =   27
  74.          Top             =   615
  75.          Width           =   4770
  76.       End
  77.       Begin CheckBox Check1 
  78.          Caption         =   "Other:"
  79.          Height          =   240
  80.          Index           =   3
  81.          Left            =   3120
  82.          TabIndex        =   24
  83.          Top             =   225
  84.          Width           =   840
  85.       End
  86.       Begin CheckBox Check1 
  87.          Caption         =   "Fixed Rate"
  88.          Height          =   240
  89.          Index           =   1
  90.          Left            =   1755
  91.          TabIndex        =   22
  92.          Top             =   225
  93.          Width           =   1275
  94.       End
  95.       Begin PictureBox BEditF3 
  96.          FontBold        =   -1  'True
  97.          FontItalic      =   0   'False
  98.          FontName        =   "MS Sans Serif"
  99.          FontSize        =   9.75
  100.          FontStrikethru  =   0   'False
  101.          FontUnderline   =   0   'False
  102.          Height          =   495
  103.          Index           =   7
  104.          Left            =   3945
  105.          ScaleHeight     =   465
  106.          ScaleWidth      =   4740
  107.          TabIndex        =   26
  108.          Top             =   45
  109.          Width           =   4770
  110.       End
  111.       Begin Label Label7 
  112.          Caption         =   "Amortizaties Type:"
  113.          Height          =   240
  114.          Left            =   45
  115.          TabIndex        =   21
  116.          Top             =   45
  117.          Width           =   1665
  118.       End
  119.    End
  120.    Begin PictureBox Picture2 
  121.       Height          =   900
  122.       Left            =   6945
  123.       ScaleHeight     =   870
  124.       ScaleWidth      =   1860
  125.       TabIndex        =   1
  126.       Top             =   2010
  127.       Width           =   1890
  128.       Begin PictureBox BEditF3 
  129.          FontBold        =   -1  'True
  130.          FontItalic      =   0   'False
  131.          FontName        =   "MS Sans Serif"
  132.          FontSize        =   9.75
  133.          FontStrikethru  =   0   'False
  134.          FontUnderline   =   0   'False
  135.          Height          =   495
  136.          Index           =   6
  137.          Left            =   45
  138.          ScaleHeight     =   465
  139.          ScaleWidth      =   1740
  140.          TabIndex        =   17
  141.          Top             =   330
  142.          Width           =   1770
  143.       End
  144.       Begin Label Label6 
  145.          Caption         =   "Number of Months:"
  146.          Height          =   210
  147.          Left            =   45
  148.          TabIndex        =   16
  149.          Top             =   45
  150.          Width           =   1665
  151.       End
  152.    End
  153.    Begin PictureBox Picture3 
  154.       Height          =   900
  155.       Left            =   4995
  156.       ScaleHeight     =   870
  157.       ScaleWidth      =   1845
  158.       TabIndex        =   2
  159.       Top             =   2010
  160.       Width           =   1875
  161.       Begin PictureBox BEditF3 
  162.          FontBold        =   -1  'True
  163.          FontItalic      =   0   'False
  164.          FontName        =   "MS Sans Serif"
  165.          FontSize        =   9.75
  166.          FontStrikethru  =   0   'False
  167.          FontUnderline   =   0   'False
  168.          Height          =   495
  169.          Index           =   5
  170.          Left            =   45
  171.          ScaleHeight     =   465
  172.          ScaleWidth      =   1455
  173.          TabIndex        =   15
  174.          Top             =   330
  175.          Width           =   1485
  176.       End
  177.       Begin Label Label8 
  178.          Caption         =   "%"
  179.          FontBold        =   -1  'True
  180.          FontItalic      =   0   'False
  181.          FontName        =   "MS Sans Serif"
  182.          FontSize        =   9.75
  183.          FontStrikethru  =   0   'False
  184.          FontUnderline   =   0   'False
  185.          Height          =   240
  186.          Left            =   1575
  187.          TabIndex        =   28
  188.          Top             =   540
  189.          Width           =   255
  190.       End
  191.       Begin Label Label5 
  192.          Caption         =   "Interent Rate:"
  193.          Height          =   225
  194.          Left            =   45
  195.          TabIndex        =   14
  196.          Top             =   45
  197.          Width           =   1245
  198.       End
  199.    End
  200.    Begin PictureBox Picture4 
  201.       Height          =   900
  202.       Left            =   45
  203.       ScaleHeight     =   870
  204.       ScaleWidth      =   3810
  205.       TabIndex        =   3
  206.       Top             =   2010
  207.       Width           =   3840
  208.       Begin PictureBox BEditF3 
  209.          FontBold        =   -1  'True
  210.          FontItalic      =   0   'False
  211.          FontName        =   "MS Sans Serif"
  212.          FontSize        =   9.75
  213.          FontStrikethru  =   0   'False
  214.          FontUnderline   =   0   'False
  215.          Height          =   495
  216.          Index           =   4
  217.          Left            =   330
  218.          ScaleHeight     =   465
  219.          ScaleWidth      =   3285
  220.          TabIndex        =   13
  221.          Top             =   345
  222.          Width           =   3315
  223.       End
  224.       Begin Label Label9 
  225.          Caption         =   "$"
  226.          FontBold        =   -1  'True
  227.          FontItalic      =   0   'False
  228.          FontName        =   "MS Sans Serif"
  229.          FontSize        =   12
  230.          FontStrikethru  =   0   'False
  231.          FontUnderline   =   0   'False
  232.          Height          =   300
  233.          Left            =   150
  234.          TabIndex        =   29
  235.          Top             =   480
  236.          Width           =   180
  237.       End
  238.       Begin Label Label4 
  239.          Caption         =   "Amount of Loan:"
  240.          Height          =   210
  241.          Left            =   45
  242.          TabIndex        =   12
  243.          Top             =   45
  244.          Width           =   1950
  245.       End
  246.    End
  247.    Begin PictureBox Picture5 
  248.       Height          =   900
  249.       Left            =   4995
  250.       ScaleHeight     =   870
  251.       ScaleWidth      =   3810
  252.       TabIndex        =   4
  253.       Top             =   1035
  254.       Width           =   3840
  255.       Begin PictureBox BEditF3 
  256.          FontBold        =   -1  'True
  257.          FontItalic      =   0   'False
  258.          FontName        =   "MS Sans Serif"
  259.          FontSize        =   9.75
  260.          FontStrikethru  =   0   'False
  261.          FontUnderline   =   0   'False
  262.          Height          =   495
  263.          Index           =   3
  264.          Left            =   45
  265.          ScaleHeight     =   465
  266.          ScaleWidth      =   3705
  267.          TabIndex        =   11
  268.          Top             =   330
  269.          Width           =   3735
  270.       End
  271.       Begin Label Label3 
  272.          Caption         =   "Lender Case Number:"
  273.          Height          =   225
  274.          Left            =   30
  275.          TabIndex        =   10
  276.          Top             =   45
  277.          Width           =   1920
  278.       End
  279.    End
  280.    Begin PictureBox Picture6 
  281.       Height          =   900
  282.       Left            =   45
  283.       ScaleHeight     =   870
  284.       ScaleWidth      =   3810
  285.       TabIndex        =   5
  286.       Top             =   1035
  287.       Width           =   3840
  288.       Begin PictureBox BEditF3 
  289.          FontBold        =   -1  'True
  290.          FontItalic      =   0   'False
  291.          FontName        =   "MS Sans Serif"
  292.          FontSize        =   9.75
  293.          FontStrikethru  =   0   'False
  294.          FontUnderline   =   0   'False
  295.          Height          =   495
  296.          Index           =   2
  297.          Left            =   30
  298.          ScaleHeight     =   465
  299.          ScaleWidth      =   3720
  300.          TabIndex        =   9
  301.          Top             =   330
  302.          Width           =   3750
  303.       End
  304.       Begin Label Label2 
  305.          Caption         =   "Agency Case Number:"
  306.          Height          =   225
  307.          Left            =   45
  308.          TabIndex        =   8
  309.          Top             =   45
  310.          Width           =   1950
  311.       End
  312.    End
  313.    Begin PictureBox Picture1 
  314.       Height          =   900
  315.       Left            =   45
  316.       ScaleHeight     =   870
  317.       ScaleWidth      =   8760
  318.       TabIndex        =   0
  319.       Top             =   60
  320.       Width           =   8790
  321.       Begin PictureBox BEditF3 
  322.          FontBold        =   -1  'True
  323.          FontItalic      =   0   'False
  324.          FontName        =   "MS Sans Serif"
  325.          FontSize        =   9.75
  326.          FontStrikethru  =   0   'False
  327.          FontUnderline   =   0   'False
  328.          Height          =   495
  329.          Index           =   1
  330.          Left            =   45
  331.          ScaleHeight     =   465
  332.          ScaleWidth      =   8640
  333.          TabIndex        =   7
  334.          Top             =   360
  335.          Width           =   8670
  336.       End
  337.       Begin Label Label1 
  338.          Caption         =   "Morgtage Applied for:"
  339.          Height          =   255
  340.          Left            =   45
  341.          TabIndex        =   6
  342.          Top             =   45
  343.          Width           =   1875
  344.       End
  345.    End
  346. Sub Check1_Click (Index As Integer)
  347.     If Form3.Visible = True Then
  348.         If Check1(Index).Value = 1 Then
  349.             For i = 1 To 4
  350.                 If Index <> i Then
  351.                     Check1(i).Value = 0
  352.                 End If
  353.             Next i
  354.         ElseIf ((Index = 3) Or (Index = 4)) Then
  355.             Form3.BEditF3(Index + 4).Text = ""
  356.             MainRec.A.A7 = ""
  357.         End If
  358.     End If
  359. End Sub
  360. Sub Command1_Click ()
  361.     MainRec.A.A1 = Form3.BEditF3(1).Text
  362.     MainRec.A.A2 = Form3.BEditF3(2).Text
  363.     MainRec.A.A3 = Form3.BEditF3(3).Text
  364.     MainRec.A.A4 = Form3.BEditF3(4).Text
  365.     MainRec.A.A5 = Form3.BEditF3(5).Text
  366.     MainRec.A.A6 = Form3.BEditF3(6).Text
  367.     For i = 1 To 4
  368.         If Form3.Check1(i).Value = 1 Then
  369.             MainRec.A.AC1 = i
  370.         End If
  371.     Next i
  372.     If (MainRec.A.AC1 = 3) Or (MainRec.A.AC1 = 4) Then
  373.         MainRec.A.A7 = Form3.BEditF3(MainRec.A.AC1 + 4).Text
  374.     End If
  375.     UpdateLabelA
  376.     Form3.Hide
  377. End Sub
  378. Sub Command3_Click ()
  379.     Form3.Hide
  380. End Sub
  381. Sub Form_Load ()
  382.     Form3.Left = 300
  383.     Form3.Top = (Screen.Height - Form3.Height) / 2
  384. End Sub
  385.